package com.hoshiicloud.purchase;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 系统工单附件
 * </p>
 *
 * @author Mr.wu
 * @since 2019-07-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("worksheet_attachment")
public class WorksheetAttachment implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField("id")
    private Long id;

    /**
    * 工单id
    */
    @TableField("worksheet_id")
    private Long worksheetId;


    /**
    * 附件名称
    */
    @TableField("name")
    private String name;


    /**
    * 附件URL
    */
    @TableField("url")
    private String url;


    /**
    * 建立人
    */
    @TableField("createdby")
    private String createdby;


    /**
    * 建立时间
    */
    @TableField("createdtime")
    private LocalDateTime createdtime;


    /**
    * 修改人
    */
    @TableField("updatedby")
    private String updatedby;


    /**
    * 修改时间
    */
    @TableField("updatedtime")
    private LocalDateTime updatedtime;


    /**
    * 是否删除
    */
    @TableField("deleted")
    private Integer deleted;



}
